package design.proxy;

/**
 * ClassName:Proxy <br/>
 * description:  <br/>
 * Date:     2019/4/22、15:45 <br/>
 *
 * @author Plank
 */
public class Proxy implements SourceAble{

    private SourceAble sourceAble;

    public Proxy() {
        this.sourceAble = new Source();
    }

    @Override
    public void t() {
        System.out.println("proxy start");
        sourceAble.t();
        System.out.println("proxy end");
    }
}
